home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
src
/
alib
/
csup
/
clib
/
g.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-15
|
585b
|
39 lines
/* graphics kernel routines */
#include <exec/types.h>
#include <exec/nodes.h>
#include <exec/lists.h>
#include <exec/interrupts.h>
#include <hardware/intbits.h>
#include <graphics/graphint.h>
#include <clib/exec_protos.h>
#include <clib/graphics_protos.h>
int ttskasm();
AddTOF(i,p,a)
register struct Isrvstr *i;
int (*p)();
int a;
{
i->code = ttskasm;
i->Iptr = i;
i->ccode = p;
i->Carg = a;
AddIntServer(INTB_VERTB,(struct Interrupt *)i);
}
RemTOF(i)
struct Isrvstr *i;
{
RemIntServer(INTB_VERTB,(struct Interrupt *)i);
}
waitbeam(b)
int b;
{
while (b>VBeamPos());
}